package org.simple.framework.data.annotation;

import org.simple.framework.data.query.Junction;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 项目名称：simple-framework
 * 类名称：QueryClass
 * 类描述：QueryClass
 * 创建时间：2018/9/6
 *
 * @author sisyphus   (E-mail:1620657419@qq.com)
 * @version v1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface QueryClass {

    Junction junction() default Junction.AND;

    OrderProperty[] orders();

}
